﻿
<!DOCTYPE html>
<html xmlns='http://www.w3.org/1999/xhtml'>
<head>
    <meta http-equiv='content-type' content='text/html;image/gif;charset=utf-8' />
    <meta name='viewport' content='width=device-width, initial-scale=1' />
    <script src='http://lib.sinaapp.com/js/jquery/1.9.1/jquery-1.9.1.min.js' type='text/javascript'></script>
    <title>微信支付-扫码支付</title>
</head>
<body>
    <input type='hidden' id='out_trade_no' value='6217' />
    <div style='margin:0 auto; text-align:center;'>
        <div class='row'>
            <div class='page'>
                <div class='page-header'>
                    <div class='row header'>
                        <h2 style='display: block;font-size: 1.5em;-webkit-margin-before: 0.83em;-webkit-margin-after: 0.83em;-webkit-margin-start: 0px;-webkit-margin-end: 0px; font-weight: bold;'><img src='../../Images/logo.png' style='width: 40px;' /> 收银台</h2>
                    </div>
                    <div class='row'>
                        <div class='col-md-8'>
                            <p>订单编号：6217</p>
                        </div>
                        <div class='col-md-4 paymoney'>
                            <h2>应付金额：0.01</h2>
                        </div>
                    </div>
                </div>
                <div class='row'>
                    <div class='col-md-8 payinfo'>
                        <img src='../../Images/WePayLogo.png' style='height:30px;' />
                        <img src='../../Images/ButtonLabel.png' style='height:30px;' />
                        <span style='vertical-align: middle;color: gray;'>亿万用户的选择，更快更安全</span>
                    </div>
                    <div class='col-md-4 paymoney'>支付<span style='color:orangered;margin: 0 5px;'>0.01</span>元</div>
                </div>
                <div>
                    <img src='/Plugins/WxPay/MakeQRCode?data=weixin%3a%2f%2fwxpay%2fbizpayurl%3fpr%3dZzrPBbY' style='width: 200px;height: 200px;margin-top: 20px;margin-bottom: 20px;' /><br />
                    <img src='../../Images/Explain.png' style='width: 200px;' /><br />
                    <a href='/orderdetails/6217' style='text-decoration:none'>查看详情</a>
                </div>
            </div>
        </div>
    </div>

    <div id="payComplent" class="page" style='margin:0 auto; text-align:center;'>
        <div class="row">
            <img src='../../Images/绿色logo.png' style='height:200px;' />
            <div class='row'>
                <div class='col-md-12'>
                    <label style="color:#5cb85c;font-size:18px;">支付成功</label>
                </div>
            </div>
            <div class='row'>
                <div class='col-md-8'>
                    <p>订单编号：</p>
                </div>
                <div class='col-md-4 paymoney'>
                    <h2>应付金额：0.01</h2>
                </div>
            </div>
           
            <div class='row'>
                <div class='col-md-12'>
                    <a href="" style='color: #fff; background-color: #5cb85c; border-color: #4cae4c; display: inline-block; padding: 6px 12px; margin-bottom: 0; font-size: 14px; font-weight: 400; line-height: 1.42857143; text-align: center; white-space: nowrap; vertical-align: middle; touch-action: manipulation; cursor: pointer; user-select: none; background-image: none; border: 1px solid transparent; border-radius: 4px; text-transform: none; text-decoration: none;'>支付完成</a>
                </div>
            </div>
        </div>
    </div>

</body>
</html>
<!--<script language='javascript' type='text/javascript'>
    $(document).ready(function () {
        setInterval('ajaxstatus()', 6000);
        alert('微信支付');
    });
    function ajaxstatus() {
        if ($('#out_trade_no').val() != 0) {

            $.ajax({
                url: '/Plugins/WxPay/IsPaid',
                type: 'GET',
                dataType: 'json',
                data: { id: $('#out_trade_no').val() },

                success: function (data) {
                    if (data == 1) { //订单状态为1表示支付成功
                        $("").hide()
                        window.location.href = '/Plugins/WxPay/ReturnInfo/' + $('#out_trade_no').val(); //页面跳转
                    }
                },
                error: function () {
                    alert('请求订单状态出错');
                }
            });
        }

    }
</script>-->